#pragma once
#include "IDataReader.h"
#include <fstream>
using std::ifstream;

class TextReader: public IDataReader
{
public:
	TextReader(char* path):f(path){} 
	~TextReader();
	virtual char getChar();
	virtual bool isEnd();
	virtual void reflesh();
	virtual bool isNextEnd();
private:
	ifstream f;
};